package com.angel.mapper;

import com.angel.bean.Webresource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WebresourceDao {
    int insert(@Param("webresource") Webresource webresource);

    int insertSelective(@Param("webresource") Webresource webresource);

    int insertList(@Param("webresources") List<Webresource> webresources);

    int update(@Param("webresource") Webresource webresource);

    List<Webresource> findWebresource(@Param("webresource") Webresource webresource);

    int delete(@Param("webresource") Webresource webresource);

    List<Webresource> searchWebresource(@Param("webresource") Webresource webresource);
}
